package com.scsj.supermarket.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.scsj.supermarket.R;
import com.scsj.supermarket.bean.CommAlreadyBean;

import java.util.List;

/**
 * 审核记录
 */

public class ApplicationRecordAdapter extends BaseQuickAdapter<CommAlreadyBean, BaseViewHolder> {

    public ApplicationRecordAdapter(List data) {
        super(R.layout.item_application_record_layout, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, CommAlreadyBean item) {

        helper.setText(R.id.application_record_shopname_tv, "商超世界CBD店");
        helper.setText(R.id.application_record_time_tv, "最后编辑时间:2018-08-15  10:00:00");
        helper.setImageResource(R.id.icon_iv, R.mipmap.zzz_clothing);

    }
}
